﻿// -----------------------------------------------------------------------
// <copyright file="CreateUserCommand.cs">
// Copyright (c) 2013-2014 Andrey Veselov. All rights reserved.
// License:  Microsoft Public License (MS-PL)
// Contacts: http://andrey.moveax.com  andrey@moveax.com
// </copyright>
// -----------------------------------------------------------------------

namespace Moveax.DataAccess.Cqrs.Highway.EF.UnitTests.Model.Commands.Users
{
	using System;
	using System.Collections.Generic;
	using Moveax.DataAccess.Cqrs.Highway.UnitTests.Model;

	public class CreateUserCommand : ICommand
	{
		public int Id { get; set; }

		public DateTime Created { get; set; }

		public string Name { get; private set; }

		public string Email { get; private set; }

		public bool IsDisabled { get; private set; }

		public IEnumerable<Link> Links { get; private set; }

		public CreateUserCommand(string name, string email, bool isDisabled, IEnumerable<Link> links)
		{
			this.Id = default(int);
			this.Name = name;
			this.Email = email;
			this.IsDisabled = isDisabled;
			Links = links;
		}
	}
}
